package cn.wolfcode.education.mapper;

import cn.wolfcode.education.domain.Classroom;
import cn.wolfcode.education.query.QueryObject;

import java.util.List;

public interface ClassroomMapper {
    //新增教室
    int insert(Classroom record);
    //查看单个教室
    Classroom selectByPrimaryKey(Long id);
    //
    List<Classroom> selectAll();
    //教室编辑
    int updateByPrimaryKey(Classroom record);

    int queryForCount(QueryObject qo);

    List<Classroom> queryForList(QueryObject qo);

    void changeStatus(Long id);

    List<Classroom> queryClassoomByClassgradeId(Long id);
}